package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GameInfoDAO;
import top.zywork.dos.GameInfoDO;
import top.zywork.dto.GameInfoDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GameInfoService;

import javax.annotation.PostConstruct;

/**
 * GameInfoServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-05-13<br/>
 *
 * @author http://zywork.top 危锦辉
 * @version 1.0
 */
@Service(value = "gameInfoService")
public class GameInfoServiceImpl extends AbstractBaseService implements GameInfoService {

    private GameInfoDAO gameInfoDAO;

    @Autowired
    public void setGameInfoDAO(GameInfoDAO gameInfoDAO) {
        super.setBaseDAO(gameInfoDAO);
        this.gameInfoDAO = gameInfoDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GameInfoDO.class, GameInfoDTO.class);
    }
}